LassoScript Utility
Basics Browse Detail

[LDAP->Referrals]

Tag Link [LDAP->Referrals] Category LDAP
Type Member Source Available No
Support Preferred Version 8.5.1
Change New Data Source Any
Output Type Array Security None
Implementation Internal Sets Lasso 8.5

Description

[LDAP-> Referrals] returns an array of referral values generated by the last search.

Syntax

<?LassoScript
Var: 'myLDAP' = LDAP;
$myLDAP->(Open: 'ldap.example.com');
$myLDAP->(Authenticate: 'myusername', 'mysecretpassword');
$myLDAP->(Search: 'dc=example,dc=com'; LDAP_Scope_Subtree, '(objectClass=*)');
Var: 'myReferrals' = $myLDAP->(Referrals);
$myLDAP->Close;
?>

Parameters

No Parameters Required.

Change Notes

This tag was added in Lasso 8.5.1.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.